package com.example.gradle_test_css.pojo;

import com.example.gradle_test_css.Entity.Menutable;

import java.util.List;

public class MenuDTO {
    private Integer id;

    private  String name;

    private List<Menutable> menus;

    private String url;

    public MenuDTO() {
    }

    public MenuDTO(Integer id, String name, List<Menutable> menus, String url) {
        this.id = id;
        this.name = name;
        this.menus = menus;
        this.url = url;
    }

    @Override
    public String toString() {
        return "MenuDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", menus=" + menus +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Menutable> getMenus() {
        return menus;
    }

    public void setMenus(List<Menutable> menus) {
        this.menus = menus;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
